<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="onein" uri="http://www.onein.cn/jsp/taglib"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>支付服务  | 万应教育</title>
<jsp:include page="/WEB-INF/inc/meta.jsp"/>
<link href="<onein:url value="/styles/all.css"/>" type="text/css" rel="stylesheet" />
<script src="<onein:url value="/scripts/jquery.js"/>" type="text/javascript"></script>
<script src="<onein:url value="/scripts/register.js"/>" type="text/javascript"></script>
<script src="<onein:url value="/scripts/payment.js"/>" type="text/javascript"></script>
<script src="<onein:url value="/scripts/My97DatePicker/WdatePicker.js"/>" type="text/javascript"></script>
</head>

<body>
	<jsp:include page="/WEB-INF/inc/header.jsp"/>
    <jsp:include page="/WEB-INF/inc/menu.jsp"/>
    <div id="bodyWrap">      
   	
      <div class="regSelectAgesSelected" style="height:250px" ><!--正常状态css为regSelectAgesNormal-->
   		
   		<div class="selectType" style="height:100px">
   		 <table width="80%" align="center">
   		   <tr><td class="typeTitle">产品列表</td></tr>
   		   <tr align="center">
   		     <th>编号</th>
   		     <th>名称</th>
   		     <th>类型</th>
   		     <th>价格</th>
   		     <th width="30%">描述</th>
   		   </tr>
   		   <c:forEach items="${products}" var="product" varStatus="i">
   		     <tr align="center">
   		       <td>${i.index +1 }</td>
   		       <td>${product.name }</td>
   		       <td>${product.type }</td>
   		       <td>￥${product.price}元</td>
   		       <td>${product.description }</td>
   		     </tr>
   		   </c:forEach>
   		  </table>
   		 </div> 
   		 
   		 <div class="selectType" style="height:60px">
   		 <table width="60%" align="center">
   		   <tr><td class="typeTitle">订单列表</td></tr>
   		   <tr align="center">
   		     <th>订单编号</th>
   		     <th>订单状态</th>
   		     <th>订单金额</th>
   		     <th>订单日期</th>
   		   </tr>
   		   <tr align="center">
   		       <td>${order.orderNo }</td>
   		       <td>${order.orderStatus }</td>
   		       <td>￥${order.amount}元</td>
   		       <td>${order.orderDate}</td>
   		   </tr>
   		  </table>
   		 </div> 
   		 
          <div class="selectValue" id="hyqtypediv" >
          		<ul class="regTextWrap">
		            <li class="regTh" style="margin-left:110px;" onclick="payment('Alipay','${order.orderNo}','<onein:url value="/payment/apply.pay"/>')"><a href="#"><img src="<onein:url value="/images/alipay.gif" />"/></a></li>
		            <li class="regTh" style="margin-left:50px;" onclick="payment('Cmpay','${order.orderNo}','<onein:url value="/payment/apply.pay"/>')"><a href="#"><img src="<onein:url value="/images/cmpay.gif" />"/></a></li>
		            <li class="regTh" style="margin-left:50px;" onclick="payment('Tenpay','${order.orderNo}','<onein:url value="/payment/apply.pay"/>')"><a href="#"><img src="<onein:url value="/images/tenpay.gif" />"/></a></li>
		        </ul>
          </div>
      </div>
       
     
     <div class="ca"></div>
</div>
<br/>
<jsp:include page="/WEB-INF/inc/footer.jsp"/>
</body>
</html>
